package cn.lblbc.downloadlib;

/**
 * 任务操作结果
 */
public class TaskOperateResult {
    private boolean success;
    private String message;
    private long taskId;

    public TaskOperateResult(boolean success, String message, long taskId) {
        this.success = success;
        this.message = message;
        this.taskId = taskId;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public long getTaskId() {
        return taskId;
    }

    public void setTaskId(long taskId) {
        this.taskId = taskId;
    }
}